@extends('admin.public.layout')
@section('title', '导入数据')

@section('css')
@endsection

@section('content')
    <div class="row">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-header">
                    <h4>导入数据</h4>
                </div>
                <div class="card-body">
                    <form action="{{url('admin/admin_actionlog/import')}}" method="post" enctype="multipart/form-data">
                    	<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
                        <div class="form-group">
                            <div class="input-group">
                                <input type="text" class="form-control" name="file_demo" id="file_demo" value="">
                                <div class="input-group-btn file_upload">
                                	<button class="btn btn-default" type="button">上传文件</button>
                                	<input type="file" class="file" name="file_name" id="file_name" data-showid="file_demo" accept=".xls,.xlsx"/>
                                </div>
                        	</div>
                        </div>
                          
                        <div class="form-group">
                            <button class="btn btn-primary importBtn" type="submit">上传</button>
                            <button class="btn btn-secondary" type="button" onclick="window.history.back(-1);">返回</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('js')
<script>

</script>
@endsection